var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// mock/user.js
var user_exports = {};
__export(user_exports, {
  default: () => user_default
});
module.exports = __toCommonJS(user_exports);
var userInfoList = [
  {
    compId: 2023050401,
    userId: 2,
    roleId: 2,
    userNo: "cst_lyr",
    userName: "\u6D4B\u8BD501",
    userPwd: null,
    userPhone: "18814249190",
    userState: true,
    accesstoken: null,
    pwdUpdDates: 0,
    roleName: "\u7CFB\u7EDF\u7BA1\u7406\u5458",
    userType: null,
    compName: "\u4E2D\u5C71\u5E02\u521B\u601D\u7279\u667A\u80FD"
  },
  {
    compId: 2023050401,
    userId: 3,
    roleId: 2,
    userNo: "cst_hm01",
    userName: "\u6D4B\u8BD5\u4F55\u660E\u4FEE\u6539",
    userPwd: null,
    userPhone: "18814249199",
    userState: true,
    accesstoken: null,
    pwdUpdDates: 0,
    roleName: "\u7CFB\u7EDF\u7BA1\u7406\u5458",
    userType: null,
    compName: "\u4E2D\u5C71\u5E02\u521B\u601D\u7279\u667A\u80FD"
  }
];
var user_default = [
  {
    url: "/dev-api/user/getUserInfoList",
    type: "get",
    response: (_) => {
      return {
        code: 200,
        data: userInfoList,
        total: userInfoList.length,
        message: "success"
      };
    }
  },
  {
    url: "/dev-api/role/getRoleInfoList",
    type: "get",
    response: (_) => {
      return {
        code: 200,
        data: roleInfoList,
        total: roleInfoList.length,
        message: "success"
      };
    }
  },
  {
    url: "/dev-api/role/roleMenuRight",
    type: "get",
    response: (config) => {
      if (!config.body) {
        return {
          code: 50008,
          message: "Login failed, unable to get roleMenuRight."
        };
      } else {
        return {
          code: 200,
          data: roleMenuRight
        };
      }
    }
  }
];
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsibW9jay91c2VyLmpzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX2luamVjdGVkX2ZpbGVuYW1lX18gPSBcIkY6XFxcXGhlbWluZ1xcXFxteVN0dWR5XFxcXHJvdXlpMytuZXQ2XFxcXFlpLlJ1b1lpLlZ1ZTNcXFxcbW9ja1xcXFx1c2VyLmpzXCI7Y29uc3QgX19pbmplY3RlZF9kaXJuYW1lX18gPSBcIkY6XFxcXGhlbWluZ1xcXFxteVN0dWR5XFxcXHJvdXlpMytuZXQ2XFxcXFlpLlJ1b1lpLlZ1ZTNcXFxcbW9ja1wiO2NvbnN0IF9faW5qZWN0ZWRfaW1wb3J0X21ldGFfdXJsX18gPSBcImZpbGU6Ly8vRjovaGVtaW5nL215U3R1ZHkvcm91eWkzK25ldDYvWWkuUnVvWWkuVnVlMy9tb2NrL3VzZXIuanNcIjtjb25zdCB1c2VySW5mb0xpc3QgPSBbXG4gIHtcbiAgICBjb21wSWQ6IDIwMjMwNTA0MDEsXG4gICAgdXNlcklkOiAyLFxuICAgIHJvbGVJZDogMixcbiAgICB1c2VyTm86ICdjc3RfbHlyJyxcbiAgICB1c2VyTmFtZTogJ1x1NkQ0Qlx1OEJENTAxJyxcbiAgICB1c2VyUHdkOiBudWxsLFxuICAgIHVzZXJQaG9uZTogJzE4ODE0MjQ5MTkwJyxcbiAgICB1c2VyU3RhdGU6IHRydWUsXG4gICAgYWNjZXNzdG9rZW46IG51bGwsXG4gICAgcHdkVXBkRGF0ZXM6IDAsXG4gICAgcm9sZU5hbWU6IC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